package edu.gatech.cs2340.OregonTrail;

/**
 * Provides representation of a party member. Responsible for containing all relevant information about
 * a single party member
 * @author Won Taek Chung
 * @version 1.0.1
 */
public class PartyMember {
	private String name; 
	private eStatus status;

	
	/**
	 * Default constructor for PartyMember class
	 * @param name
	 */
	public PartyMember(String name)
	{
		this.setName(name);
		this.setStatus(eStatus.alive);
	}
	public PartyMember(String name, eStatus status)
	{
		this.setName(name);
		this.setStatus(status);
	}
	/**
	 * Getter for status instance variable
	 * @return The player's status as a value of an eStatus enum
	 */
	public eStatus getStatus() {
		return status;
	}

	/**
	 * Setter for status instance variable
	 * @param status New eStatus enum value to use as the party member's status
	 */
	public void setStatus(eStatus status) {
		this.status = status;
	}

	/**
	 * Getter for the name instance variable
	 * @return Party member's name
	 */
	public String getName() {
		return name;
	}

	/**
	 * Setter for the name instance variable
	 * @param name New name for the party member
	 */
	public void setName(String name) {
		this.name = name;
	}
}	

